#region Summary

// 
// Owner : JackieHan 
// 
// Solution : LearnSolution 
// 
// Project : JackieHan.NHibernate3.Repository
// 
// File : NHSessionExtension.cs
// 
// CopyRight : Copyright © 2010-2011 Skomart Corporation, All Rights Reserved 
// 
// Summary : NH Session d的扩展方法
// 
// History : 
//			2010-09-20 13:16:04	    Create 
// 

#endregion

#region Using

using System;
using System.Collections.Generic;
using System.Linq;
using NHibernate;
using NHibernate.Linq;

#endregion

namespace JackieHan.NHibernate3.Repository
{
    /// <summary> 
    /// NH Session d的扩展方法
    /// </summary>
    public static class NHSessionExtension
    {
        /// <summary>
        /// 创建Linq查询的查询对象
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="session">Session</param>
        /// <returns></returns>
        public static IQueryable<T> Query<T>(this ISession session)
        {
            //return new NhQueryable<T>(session);
            return null;
        }
    }
}